package com.Nuyoah.demo01.DTO;

import com.Nuyoah.demo01.entity.User;

public class UserLoginDTO extends User {

    private String captcha; // 验证码字段
    private String sessionId;// sessionId字段

    // 构造方法
    public UserLoginDTO() {
    }

    public UserLoginDTO(Integer userId, String username, String password, String captcha,String sessionId) {
        super(userId, username, password);
        this.captcha = captcha;
        this.sessionId = sessionId;
    }

    // Getters 和 Setters
    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getSessionId() {
        return sessionId;
    }
}
